package com.example.hospital.patient.wx.api.service;

import com.example.hospital.patient.wx.api.db.pojo.UserInfoCardEntity;
import org.springframework.transaction.annotation.Transactional;

import java.util.HashMap;

public interface UserInfoCardService {
    public void insert(UserInfoCardEntity entity);

    HashMap searchUserInfoCard(int userId);

    @Transactional
    void update(UserInfoCardEntity entity);

    public boolean hasUserInfoCard(int userId);
}
